/*
 * @Author: liuzelin
 * @Date: 2023-09-09 09:49:05
 * @LastEditors: liuzelin
 * @LastEditTime: 2024-04-20 11:14:51
 * @Description: file content
 */
#pragma once

#include "panda_export.hpp"
#include <cstdint>

namespace Panda {
class PANDA_EXPORT Event {
 public:
  virtual ~Event() = default;
  static const int64_t tForEver = 0x7fffffffffffffff;
  virtual void Set() = 0;
  virtual void Wait(int64_t ms = tForEver) = 0;
  static Event* CreatePandaEvent();
};
}  // namespace Panda
